﻿using System;
using System.IO;

namespace Moonlite.Data.Configuration
{
    /// <summary>
    /// Supports dumping to a StreamWriter.
    /// </summary>
    public interface IDumpable
    {
        /// <summary>
        /// Dumps the object to the specified StreamWriter.
        /// </summary>
        /// <param name="writer">The StreamWriter.</param>
        void Dump(StreamWriter writer);
    }
}
